package com.nwpu.am.pojo.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("维修人员创建订单")
public class OrderCreateDTO implements Serializable {

    @ApiModelProperty("0代表订单未完成,1代表已经完成")
    private short status;
    @NotNull
    private int payMoney;


    private String description;
    @NotEmpty
    private String ownerName;
    private String ownerTel;

}
